package com.example.pachong;

import com.example.pachong.pojo.Discuss;
import com.example.pachong.pojo.Ip;
import com.example.pachong.pojo.Users;
import com.example.pachong.service.DiscussService;
import com.example.pachong.service.IpService;
import com.example.pachong.service.UserService;
import com.example.pachong.service.impl.DiscussServiceImpl;
import com.example.pachong.service.impl.IpServiceImpl;
import com.example.pachong.service.impl.UserServiceImpl;
import com.gargoylesoftware.htmlunit.BrowserVersion;
import com.gargoylesoftware.htmlunit.NicelyResynchronizingAjaxController;
import com.gargoylesoftware.htmlunit.WebClient;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import com.google.gson.Gson;
import org.apache.commons.logging.LogFactory;
import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.io.*;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.logging.Level;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

@SpringBootApplication
public class PachongApplication {

    public static void main(String[] args) throws Exception{
        SpringApplication.run(PachongApplication.class, args);
    }

}
